package ${package.Service};

import ${package.Entity}.${entity};
import ${superServiceClassPackage};
import java.util.Collection;

/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {

<#if insert>
    int insert(${entity} entity);
</#if>

<#if insertBatch>
    int insertBatch(Collection<${entity}> list);
</#if>

<#if updateBatch>
    int updateBatch(Collection<${entity}> list);
</#if>

}
</#if>
